// 登录方式的切换
function switchLogin(){
    let modalTitle = document.querySelectorAll('.modal_box_title>p')
    let mod=document.querySelectorAll('.modal_box_cont>div')
    modalTitle.forEach(function(open,i){
        open.addEventListener('click',function(){
            modalTitle.forEach(function(open,i){
                open.classList.remove('modal_box_tit_col')
                mod[i].classList.remove('modal_box_modal_show')
            })
            open.classList.add('modal_box_tit_col')
            mod[i].classList.add('modal_box_modal_show')
        })
    })
}
switchLogin()